package com.softlook.mt.server.db.results.usermanager;

import com.softlook.mt.server.db.dto.Client;
import com.softlook.mt.server.db.dto.User;
import com.softlook.mt.server.db.dto.Userdevice;
import com.softlook.mt.server.db.dto.Device;
import com.softlook.mt.server.db.dto.Devicegroup;
import java.util.Hashtable;

public class GetUserDataResult extends Hashtable {
	private static final long serialVersionUID = 1L;
	private Client client = null;
	private User user = null;
	private Userdevice userdevice = null;
	private Device device = null;
	private Devicegroup devicegroup = null;
	public Client getClient() {
		return this.client;
	}
	public Client getClientWithNew() {
		if(this.client == null){
			this.client = new Client();
		}
		return this.client;
	}
	public void setClient(Client client) {
		this.client = client;
	}
	public User getUser() {
		return this.user;
	}
	public User getUserWithNew() {
		if(this.user == null){
			this.user = new User();
		}
		return this.user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public Userdevice getUserdevice() {
		return this.userdevice;
	}
	public Userdevice getUserdeviceWithNew() {
		if(this.userdevice == null){
			this.userdevice = new Userdevice();
		}
		return this.userdevice;
	}
	public void setUserdevice(Userdevice userdevice) {
		this.userdevice = userdevice;
	}
	public Device getDevice() {
		return this.device;
	}
	public Device getDeviceWithNew() {
		if(this.device == null){
			this.device = new Device();
		}
		return this.device;
	}
	public void setDevice(Device device) {
		this.device = device;
	}
	public Devicegroup getDevicegroup() {
		return this.devicegroup;
	}
	public Devicegroup getDevicegroupWithNew() {
		if(this.devicegroup == null){
			this.devicegroup = new Devicegroup();
		}
		return this.devicegroup;
	}
	public void setDevicegroup(Devicegroup devicegroup) {
		this.devicegroup = devicegroup;
	}
}
